<?php

class Example_Element_Site_Nav
    extends OOWP_Element_Nav
{

    public function __construct(array $args = array( ))
    {
        $input = $this->merge_arguments(array(
            'contents' => array(
                'heading' => new OOWP_Element(array(
                    'attributes' => array(
                        'class' => 'section-heading',
                    ),
                    'contents' => array('Main Menu'),
                    'tag' => 'h1',
                )),
                'skip' => '<div class="skip-link screen-reader-text"><a href="#content" title="Skip to content">Skip to content</a></div>',
                'links' => new OOWP_Atom_NavMenu('main'),
            )
        ), $args);

        parent::__construct($input);
    }

}
